<script setup lang="ts">
	import { onLaunch, onShow, onHide } from '@dcloudio/uni-app';
	import { useAuthStore } from '@/state/modules/auth';
	import { useUserStore } from '@/state/modules/user';
	onLaunch(() => {
		console.log('App Launch');
	});
	onShow(() => {
		const authStore = useAuthStore();
		const userStore = useUserStore();
		authStore.initToken();
		userStore.initUser();
		console.log('App Show');
	});
	onHide(() => {
		console.log('App Hide');
	});
</script>
<style lang="scss">
	@import '@/static/scss/index.scss';
</style>